// Copyright (c) 2025, 大连理工大学 (Dalian University of Technology)
//
// Licensed under the Mulan PSL v2.
// You can use this file according to the terms and conditions of the Mulan PSL v2.
// You may obtain a copy of the License at
//
//     http://license.coscl.org.cn/MulanPSL2
//
// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. SEE THE MULAN PSL v2
// FOR MORE DETAILS.

/*
 * @Author: qiulin 1746365080@qq.com
 * @Date: 2024-10-24 14:51:52
 * @LastEditors: qiulin 1746365080@qq.com
 * @LastEditTime: 2025-01-08 19:42:08
 * @FilePath: /SGSim/DBManager/UnitTest/HDF5/Input/SubcaseTest.cpp
 */

#include "DataStructure/Input/Solver/Subcase.h"

#include <cstring>
#include <string>

#include <gtest/gtest.h>



#include "DBManager/DBServiceFactory.h"
#include "DBManager/IService/Input/Subcase/ISubcaseService.h"
#include "DBManager/UnitTest/HDF5/TestDB.h"

using namespace SG::DataStructure::FEM;
using namespace SG::DBManager;

class I_SubcaseTest : public testing::Test
{
  public:
    static void SetUpTestSuite ()
    {
        if (DB::ServiceFactory != nullptr)
        {
            DB::ServiceFactory->ClearDatabase ();
        }
    }
};

TEST_F (I_SubcaseTest, Subcase)
{
    // SG::DataStructure::Common::Id const id = 99;

    // subcae测试不仅仅需要subcase自己本身，在DBM中不做测试，在import中测试
}